package com.hnxxxy.workshop.service;


import com.hnxxxy.workshop.request.ComponentsPageRequest;
import com.hnxxxy.workshop.request.ComponentsRequest;
import com.hnxxxy.workshop.vo.ComponentsVO;

import java.util.Map;

/**
 * <p>
 * 零件 服务类
 * </p>
 *
 * @author zqh
 * @since 2022-05-09
 */
public interface ComponentsService {

    void add(ComponentsRequest componentsRequest);

    void deleteById(int id);

    void update(ComponentsRequest componentsRequest);

    ComponentsVO findByIdComponents(int id);

    Map<String, Object> page(ComponentsPageRequest componentsPageRequest);
}
